/**
 * 获取默认单选题目对象
 * @returns {{options: [{value: string, content: string},{value: string, content: string}], type: number, content: string}}
 */
export const getRadioData = () => {
    return {
        type: 0,
        content: '单选',
        options: [
            {
                orders:1,
                value: 'A',
                content: 'A'
            },
            {
                orders:2,
                value: 'B',
                content: 'B'
            },
        ]
    }
}
//多选框
export const getCheckboxData = () => {
    return {
        type: 1,
        content: '多选',
        options: [
            {
                orders:1,
                value: 'A',
                content: 'A'
            },
            {
                orders:2,
                value: 'B',
                content: 'B'
            },
        ]
    }
}
//评分
export const getRateData = () => {
    return {
        type: 4,
        content: '评分',
        count: 5,
        value: '0'
    }
}
//时间选择
export const getTimePickerData = () => {
    return {
        type: 5,
        content: '时间选择',
        value: ''
    }
}

/**
 * 获取默认单行选题目对象
 * @returns {{type: number, content: string}}
 */
export const getLineInput = () => {
    return {
        type: 2,
        inputType:'text',
        content: '单行输入',
        value:''
    }
}


/**
 * 获取默认单行选题目对象
 * @returns {{type: number, content: string}}
 */
export const getTextarea = () => {
    return {
        type: 3,
        inputType:'text',
        content: '多行输入',
        value:''
    }
}


